/**
 * Copyright 2002 Cordys R&D B.V. 
 * 
 * This file is part of the Cordys .NET Connector. 
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * 
 * http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
 /**
 *
 * @author  owarnier
 * changed by pkavuri
 */


package com.eibus.applicationconnector.ejb;

import com.eibus.localization.IStringResource;

class EJBExecutionEnvironmentException extends java.lang.Exception {
    
	private IStringResource iStringResource = null;
	private String[] args 					= null;
	/**
     * Creates a new instance of <code>EJBExecutionEnvironmentException</code> without detail message.
     */
     EJBExecutionEnvironmentException() {
    }
    
    /**
     * Constructs an instance of <code>EJBExecutionEnvironmentException</code> with the specified detail message.
     * @param msg the detail message.
     */
     EJBExecutionEnvironmentException(String msg)
     {
        super(msg);
     }
     
     EJBExecutionEnvironmentException(String msg,IStringResource iStringResource)
     {
        super(msg);
        this.iStringResource = iStringResource;
     }
     EJBExecutionEnvironmentException(String msg,IStringResource iStringResource,String[] args)
     {
        super(msg);
        this.iStringResource = iStringResource;
        this.args			 = args;
     }
     public IStringResource getIstringResource()
     {
    	 return iStringResource;
     }
     public String[] getArguments()
     {
    	 return args;
     }
}

class ArgumentException extends java.lang.Exception {
     ArgumentException(){
    }
     ArgumentException(String msg){
        super(msg);
    }
}
